/**
 * Created with IDEA
 * author:ju bai
 * Date:2021/4/24
 * Time:15:32
 **/
public class Main1 {
    /**
     * 每日一题-二进制插入
     *
     * @param n
     * @param m
     * @param j
     * @param i
     * @return
     */
    public int binInsert(int n, int m, int j, int i) {
        m <<= j;//m右移j位，插到j-i中间
        return m + n;//相加
        //return m | n;//或操作
    }
}
